#pragma  once
#include "cocos2d.h"
#include "SceneConstant.h"
#include "CCTMXTiledMap.h"
#include "tinyxml.h"
#include "SimpleAudioEngine.h"
#include <map>
#include <vector>

#include "GameManager.h"

using namespace cocos2d;
using namespace CocosDenshion;
using namespace std;


class HeatBeat:public CCLayer
{
public:
	HeatBeat();
	virtual ~HeatBeat();
	virtual bool init();
	void UpBtnClick(CCObject* pSender);
	void DownBtnClick(CCObject* pSender);
	void ActiveBtnClick(CCObject* pSender);
	static cocos2d::CCScene* scene();
	virtual void update(float dt);
	string m_Beats;
	CCLabelTTF* m_BeatStr;
	CREATE_FUNC(HeatBeat);

	void Reset();
private: 
	int m_iBeats;
	int m_CorrectBeats;

	void EnterBeatNum();
	
};
